|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.virtualweaver.xotics.datamodel.datatype.XdpNode
This class is used for XPath engine to hold and represent an XoNode
and its position in document.
Note that for an XoProperty, an additional field propertyPosition
represents its position in the list of XoProperty of an XO object.
| Constructor Summary | |
XdpNode(XoNode node,
int position)
Creates a new instance of XdpNode for any XoNode type |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
|
int |
getPosition()
|
int |
getPropertyPosition()
property position is immutable and provided by XoProperty field position |
XoNode |
getValue()
|
boolean |
isAttributeNode()
|
boolean |
isElementNode()
|
boolean |
isPropertyNode()
|
boolean |
isRootNode()
|
boolean |
isTextPropertyNode()
|
void |
setPosition(int pos)
Node position can be changed |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public XdpNode(XoNode node,
int position)
XdpNode for any XoNode type
node - an XoNodeposition - its position in the document| Method Detail |
public XoNode getValue()
thispublic int getPosition()
public void setPosition(int pos)
pos - positionpublic int getPropertyPosition()
public boolean isAttributeNode()
public boolean isPropertyNode()
public boolean isTextPropertyNode()
xoTextContent)public boolean isElementNode()
XoObject representing an XML elementpublic boolean isRootNode()
XoRoot representing an XML root elementpublic boolean equals(java.lang.Object o)
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||